<<<<<<< HEAD
option = {
    /*backgroundColor:'#fff',*/
    tooltip: { },
    series: [{
        name: '上报率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['80%','50%'],
        /*color:'#C23531',*/
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#7052f4'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 29,
            name: '上报数',
            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/上报数)*100%<br/> 上报数 : {c}"
            }
        }, {
            value: 9,
            name: '未上报数',
            label: {
                normal: {
                    formatter: '\n完成上报',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未上报数/事件发生数)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    },{
        name: '处理率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['50%','50%'],
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#4CC76D'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 38,
            name: '处理率',

            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/事件处理数)*100%<br/> 事件处理数 : {c}"
            }
        }, {
            value: 41,
            name: '未处理数',
            label: {
                normal: {
                    formatter: '\n未处理率',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未处理数/事件发生数)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    },{
        name: '结案率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['20%','50%'],
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#96d668'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 79,
            name: '结案数',
            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/结案数)*100%<br/> 结案数 : {c}"
            }

        }, {
            value: 59,
            name: '未结案数',
            label: {
                normal: {
                    formatter: '\n未结案数',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未结案数/事件发生率)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    }]
};
var mychart1 =echarts.init(document.getElementById('charts1'));
=======
option = {
    /*backgroundColor:'#fff',*/
    tooltip: { },
    series: [{
        name: '上报率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['80%','50%'],
        /*color:'#C23531',*/
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#7052f4'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 29,
            name: '上报数',
            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/上报数)*100%<br/> 上报数 : {c}"
            }
        }, {
            value: 9,
            name: '未上报数',
            label: {
                normal: {
                    formatter: '\n完成上报',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未上报数/事件发生数)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    },{
        name: '处理率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['50%','50%'],
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#4CC76D'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 38,
            name: '处理率',

            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/事件处理数)*100%<br/> 事件处理数 : {c}"
            }
        }, {
            value: 41,
            name: '未处理数',
            label: {
                normal: {
                    formatter: '\n未处理率',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未处理数/事件发生数)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    },{
        name: '结案率',
        type: 'pie',
        radius: ['40%', '55%'],
        center:['20%','50%'],
        itemStyle:{
            normal:{
                color:new echarts.graphic.LinearGradient(
                    0,0,0,1,
                    [
                        {offset:0, color: '#00b0ff'},
                        {offset:0.8, color: '#96d668'},

                    ]
                )
            }
        },
        label: {
            normal: {
                position: 'center'
            }
        },
        data: [{
            value: 79,
            name: '结案数',
            label: {
                normal: {
                    formatter: '{d} %',
                    textStyle: {
                        fontSize: 18,
                        color:'#027eff'
                    }
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=({b}/结案数)*100%<br/> 结案数 : {c}"
            }

        }, {
            value: 59,
            name: '未结案数',
            label: {
                normal: {
                    formatter: '\n未结案数',
                    textStyle:{
                        color:'#027eff'
                    },
                }
            },
            tooltip:{
                trigger: 'item',
                formatter: "{a}=(未结案数/事件发生率)*100%<br/> {b} : {c}"
            },
            itemStyle: {
                normal: {
                    color: '#DBDBDB'
                },
                emphasis: {
                    color: '#DBDBDB'
                }
            },
        }]
    }]
};
var mychart1 =echarts.init(document.getElementById('charts1'));
>>>>>>> 64023929a954491135e98eced71561cf8107da2a
mychart1.setOption(option);